using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using ProgramMain.Framework;

namespace ProgramMain.InetTariffPlans
{
    public partial class InetTariffEditorCtl : BaseDetailCtl
    {
        public InetTariffEditorCtl()
        {
            InitializeComponent();
        }

        private void InetTariffEditorCtl_DetailIDChanged(object sender, EventArgs e)
        {
            inetTariffPlanPropertiesCtl1.DetailID = this.DetailID;
            inetTariffRateListCtl1.DetailID = this.DetailID;
        }

        public void RefreshControl()
        {
            inetTariffPlanPropertiesCtl1.RefreshControl();
            inetTariffRateListCtl1.RefreshControl();
        }
    }
}
